package com.dog.modules.iot.util;

public class UuidRequestHolder {

    private static ThreadLocal<String> uuidLocal = new ThreadLocal<>();


    public static String getUuid() {
        return uuidLocal.get();
    }

    public static void setUuid(String uuid){
        uuidLocal.set(uuid);
    }

    public static void clear(){
        uuidLocal.remove();
    }
}
